-- GENERATED SPELL FOR [Iron Thane Furyhammer] --


function spell0_26405(pUnit, Event) --@Furyhammer,Self--
pUnit:FullCastSpellOnTarget(61576,pUnit)
pUnit:RegisterEvent('Sorts_26405', 529, 1)
end

function spell1_26405(pUnit, Event) --@Furyhammer,Self--
pUnit:FullCastSpellOnTarget(61575,pUnit)
pUnit:RegisterEvent('Sorts_26405', 6000, 1)
end

function spell2_26405(pUnit, Event) --@Furyhammer\'s Immunity,n/a--
pUnit:FullCastSpellOnTarget(47922,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26405', 617, 1)
end

function Sorts_26405(pUnit, Event)
local choix_sorts_26405 = math.random(0, 2)
if choix_sorts_26405 == 0 then
pUnit:RegisterEvent('spell0_26405', 1, 1)
end
if choix_sorts_26405 == 1 then
pUnit:RegisterEvent('spell1_26405', 1, 1)
end
if choix_sorts_26405 == 2 then
pUnit:RegisterEvent('spell2_26405', 1, 1)
end
end

function mob26405_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26405', math.random(1500, 3000), 1)
end

function mob26405_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26405_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26405_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26405, 1, 'mob26405_Action')
RegisterUnitEvent(26405, 2, 'mob26405_Leave')
RegisterUnitEvent(26405, 3, 'mob26405_Kill')
RegisterUnitEvent(26405, 4, 'mob26405_Die')
